package dubboRpc.provider;

import dubboRpc.common.CommonProtocal;
import dubboRpc.common.HelloService;

/**
 * @author: zlz
 * @date: 2021/9/15 22:16
 * @description:
 * @since: JDK1.8
 */
public class HelloServiceImpl implements HelloService {
    @Override
    public String hello(String msg) {
        if (msg !=null) {
            return "你好客户端,已接收到你的消息：" + msg;
        }
        return "你好客户端，你的消息为空啊！";
    }
}
